package com.huawei.crm.service;

import com.github.pagehelper.PageInfo;
import com.huawei.crm.domain.Permission;
import com.huawei.crm.query.QueryObject;

import java.util.List;

public interface IPermissionService {

    void delete(Long id);

    List<Permission> listAll();

    PageInfo<Permission> query(QueryObject qo);

    // 加载权限
    void reload();
}
